
package com.lmx.repoDomain.repository;

import com.lmx.repoDomain.tmodel.Account;
import io.katharsis.repository.annotations.JsonApiResourceRepository;
import io.katharsis.repository.annotations.JsonApiSave;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@JsonApiResourceRepository(Account.class)
@Component
public class AccountRepository extends BaseRepository<Account>{

    @PostConstruct
    public void init() {
        dslJpaService.setEntityClass(Account.class);
    }

/*    @Override
    @JsonApiSave
    public Account save(Account account) {
        //禁止修改账户信息
        return null;
    }*/


}
